package org.example.factory03;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @author liyishan
 * @date 2024/2/18 14:43
 * @apiNote
 */

@Slf4j
@Component
@LogicStrategy(logicMode = DefaultLogic02Factory.LogicModel.SENSITIVE_WORD)
public class Security02Filter implements IRuleLogicFilter {

    @Override
    public String filter(String s) {
        return s+" SensitiveWordFilter";
    }
}
